package com.ljx.rabbit.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-02-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cart")
@ApiModel(value="Cart对象", description="")
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private Long skuId;

    private Integer count;

    private Long itemId;

    @ApiModelProperty(value = "商品名字 ")
    private String name;

    private String price;

    private String picture;

    @ApiModelProperty(value = "商品属性")
    private String attrsText;

    @ApiModelProperty(value = "0 false 1true")
    private boolean selected;

    private Long userId;

    private Long orderId;

    @ApiModelProperty(value = "1show 0 no show ")
    @TableField("is_show")
    private boolean shown=true;


}
